This resource address returns the modifiable properties of the named foreign cluster. The foreign cluster can be identified either by id or name.
URL Parameters | |
---|---|
format | The format of the returned data. Can be either
json or xml (default). This parameter overrides the Accept
header if both are present. |
Upon success, MarkLogic Server returns status code 200 (OK). A status code of 401 (Unauthorized) is returned if the user does not have the necessary privileges.
manage-user
role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage
The structure of the output returned from this REST API is as follows:
foreign-cluster-id
foreign-cluster-name
xdqp-timeout
host-timeout
foreign-ssl-certificate
xdqp-ssl-enabled
xdqp-ssl-allow-sslv3
xdqp-ssl-allow-tls
xdqp-ssl-ciphers
foreign-bootstrap-hosts
This is a complex structure with the following children:
foreign-bootstrap-host
This is a complex structure with the following children:
foreign-host-id
foreign-host-name
foreign-connect-port
foreign-protocol
http://localhost:8002/manage/v2/clusters/127.0.0.2-cluster/properties ==> Returns the modifiable properties for the foreign cluster, "127.0.0.2-cluster."
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.